package com.itheima.dao;

import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderDao {
    public void add(Order order);

    public List<Order> findByCondition(Order order);

    public Map findById4Detail(Integer id);

    public Integer findTodayOrderNumber(String today);

    public Integer findTodayVisitsNumber(String today);

    public Integer findThisWeekOrderNumber(String thisWeekMonday);

    public Integer findThisWeekVisitsNumber(String thisWeekMonday);

    public Integer findThisMonthOrderNumber(String firstDay4ThisMonth);

    public Integer findThisMonthVisitsNumber(String firstDay4ThisMonth);

    public List<Map<String,Object>> findHotSetmeal();

}
